package com.hst.capacity.domain.model.response.setting.line;

import com.hst.capacity.domain.model.entity.setting.line.CityLineEntity;
import com.hst.capacity.domain.model.entity.setting.line.IntercityLineEntity;
import lombok.Data;

import java.util.List;

@Data
public class CityLineInfoVO {

    private String idCityLine;
    private String idFranchisee;
    private String cityCode;
    private int status;
    private int hot;
    private int sort;
    private String cityLineName;
    private String memo;

    /** 站点地区编码用  */
    private String stationRegionCode;

    private List<IntercityLineInfoVO> icLineList;

    public CityLineInfoVO(CityLineEntity clEntity) {

        this.idCityLine = clEntity.getIdCityLine();
        this.idFranchisee = clEntity.getIdFranchisee();
        this.cityCode = clEntity.getCityCode();
        this.status = clEntity.getStatus();
        this.hot = clEntity.getHot();
        this.sort = clEntity.getSort();
        this.cityLineName = clEntity.getCityLineName();
        this.memo = clEntity.getMemo();
        this.stationRegionCode = clEntity.getStationRegionCode();

    }

}
